<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错误 - 钢铁商城</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css" media="all"/>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100">
<div class="container mx-auto my-12 text-center">
    <h1 class="text-3xl font-bold text-red-600">操作失败</h1>
    <p class="text-lg text-gray-700 mt-4" th:text="${errorMessage} ?: '未知错误，请稍后重试'"></p>
    <a href="/buyer" class="mt-6 inline-block bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">返回首页</a>
</div>
</body>
</html>